<div id="content"  style="background-color:#ffffff">
<div id="content-header">
  <div id="breadcrumb"> <a href="?m=admin&t=main" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> 系统首页</a> <a href="#" class="current">应用列表</a> </div>
</div>
<div class="container-fluid">
  <div class="row-fluid">
		  <blockquote class="layui-elem-quote layui-quote-nm">
			<a href="?m=admin&o=app&t=addapp" class="layui-btn">增加应用</a> 
		  </blockquote> 
		  <fieldset class="layui-elem-field layui-field-title">
			  <legend>应用列表</legend>
		  </fieldset>
      <form id="infoListForm" method="get" action="index.php?m=admin&o=user&t=userList">
          <div class="table_bd">
            <table class="layui-table">
              <thead>
                <tr>
				  <th>应用名称</th>
                  <th>渠道名称</th>
                  <th>资源方</th>
                  <th>资源URL</th>
                  <th>KEY</th>
                  <th>创建时间</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
              <{section name=list loop=$applist}>
              <tr class="gradeX">
                <td><{$applist[list].channel_name}></td>
				<td><{$applist[list].channelsite_name}></td>
                <td><{$applist[list].resources_name}></td>
                <td><{$applist[list].resources_url}></td>
                <td><{$applist[list].key}></td>
                <td><{$applist[list].c_time|date_format:'%Y-%m-%d %H:%M:%S'}></td>
                <td class="txt_center"><a class="layui-btn layui-btn-small" href="?m=admin&o=app&t=editapp&id=<{$applist[list].id}>">编辑</a> <a href="?m=admin&o=app&t=editapp&id=<{$applist[list].id}>" class="layui-btn layui-btn-danger layui-btn-small">删除</a> <a href="index.php?m=admin&o=app&t=appStatistics&key=<{$applist[list].key}>" class="layui-btn layui-btn-normal layui-btn-small">统计</a></td>
              </tr>
              <tr>
              	<td colspan='2' style="text-align:left">
                	接入URL：
                </td>
                <td colspan='5'>
                	http://delivery.xiangfubao.com.cn/adv/<{$applist[list].key}>
                </td>
              </tr>
              <{/section}>
                </tbody>
              
            </table>
            <{$page_menu}> </div>
        <input type="hidden" name="m" value="admin" />
        <input type="hidden" name="o" value="core" />
        <input type="hidden" name="t" id="task" value="adminList" />
      </form>
  </div>
</div>
